/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DB;
 import java.sql.Connection;
 import java.sql.DriverManager;
 import java.sql.ResultSet;
 import java.sql.Statement;
 
/**
 *
 * @author delmastro
 */
public class DBUtilities {
    
    public Connection getConnection()
    {
         Connection connection = null;
        try {
         Class.forName("org.sqlite.JDBC");
         connection = DriverManager.getConnection("jdbc:sqlite:testdb.db");
       
        } catch (Exception e) {
            e.printStackTrace();
        }
          return connection;
    }
    
}
